package org.holynite.fieldmanage.persistence

import org.holynite.fieldmanage.entities.ChargeRule

import javax.ejb.Local

/**
 * Created by midnite on 15/1/25.
 */
@Local
interface ChargeRuleEAO extends EAO {
	void removeAllRulesInScheme(String scheme)
	void removeRuleInScheme(String scheme, String ruleId)
	List<ChargeRule> listAllRulesInScheme(String scheme)
	List<ChargeRule> searchRulesInScheme(String scheme, String keyword)
	ChargeRule findRule(String scheme, String ruleId)
}